package com.situ.project1.pojo;

import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;

/**
 * @author:yzy
 * @date:2024/8/10
 */
@Data
public class Order {
    private Integer id;
    private String orderId;
    private String orderName;
    private String orderModel;
    private String empId;
    private String empName;
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    public LocalDateTime getOrderTime() {
        return orderTime;
    }
    private LocalDateTime orderTime ;
    private String orderStatus;
}
